﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 商品分类
/// </summary>
public partial class SGoodsCategory
{
    /// <summary>
    /// 自增id
    /// </summary>
    public uint Id { get; set; }

    /// <summary>
    /// 父id
    /// </summary>
    public uint Pid { get; set; }

    /// <summary>
    /// icon图标
    /// </summary>
    public string Icon { get; set; } = null!;

    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 副标题
    /// </summary>
    public string ViceName { get; set; } = null!;

    /// <summary>
    /// 描述
    /// </summary>
    public string Describe { get; set; } = null!;

    /// <summary>
    /// css背景色值
    /// </summary>
    public string BgColor { get; set; } = null!;

    /// <summary>
    /// 大图片
    /// </summary>
    public string BigImages { get; set; } = null!;

    /// <summary>
    /// 是否首页推荐（0否, 1是）
    /// </summary>
    public byte IsHomeRecommended { get; set; }

    /// <summary>
    /// 排序
    /// </summary>
    public byte Sort { get; set; }

    /// <summary>
    /// 是否启用（0否，1是）
    /// </summary>
    public byte IsEnable { get; set; }

    /// <summary>
    /// 模版
    /// </summary>
    public byte Template { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public uint AddTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public uint UpdTime { get; set; }
}
